package com.evan.designpatterns.singleton.register;

/**
 * @author :liujiapeng01
 * @date :2019-03-13 17:49
 **/
public enum EnumRegisterSingleton {
    /**
     * 内容储存器
     */
    INSTANCE;


    private Object data;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }


    public static EnumRegisterSingleton getInstance() {
        return INSTANCE;
    }
}
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
// Source File Name:   EnumRegisterSingleton.java


/*public final class EnumRegisterSingleton extends Enum
{

    public static EnumRegisterSingleton[] values()
    {
        return (EnumRegisterSingleton[])$VALUES.clone();
    }

    public static EnumRegisterSingleton valueOf(String name)
    {
        return (EnumRegisterSingleton)Enum.valueOf(com/evan/designpatterns/singleton/register/EnumRegisterSingleton, name);
    }

    private EnumRegisterSingleton(String s, int i)
    {
        super(s, i);
    }

    public Object getData()
    {
        return data;
    }

    public void setData(Object data)
    {
        this.data = data;
    }

    public static EnumRegisterSingleton EnumRegisterSingleton()
    {
        return INSTANCE;
    }

    public static final EnumRegisterSingleton INSTANCE;
    private Object data;
    private static final EnumRegisterSingleton $VALUES[];

    static
    {
        INSTANCE = new EnumRegisterSingleton("INSTANCE", 0);
        $VALUES = (new EnumRegisterSingleton[] {
                INSTANCE
        });
    }
}*/

